﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Minimap, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "ScriptType"))

	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Minimap, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Function"))

	_DB:AddCodeHelp("SetClassBlipTexture", [=[Sets the texture used to display party and raid members on the minimap]=], [=[SetClassBlipTexture("filename")]=])
	_DB:AddCodeHelp("SetPlayerModel", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetZoom", [=[Returns the minimap's current zoom level]=], [=[GetZoom()]=])
	_DB:AddCodeHelp("SetBlipTexture", [=[Sets the texture used to display quest and tracking icons on the minimap]=], [=[SetBlipTexture("filename")]=])
	_DB:AddCodeHelp("SetStaticPOIArrowTexture", [=[Sets the texture used to represent static points of interest located beyond the scope of the minimap]=], [=[SetStaticPOIArrowTexture("filename")]=])
	_DB:AddCodeHelp("SetPlayerTextureHeight", [=[Sets the height of the texture used to represent the player on the minimap]=], [=[SetPlayerTextureHeight(height)]=])
	_DB:AddCodeHelp("GetPingPosition", [=[Returns the location of the last "ping" on the minimap]=], [=[GetPingPosition()]=])
	_DB:AddCodeHelp("SetPlayerTextureWidth", [=[Sets the width of the texture used to represent the player on the minimap]=], [=[SetPlayerTextureWidth(width)]=])
	_DB:AddCodeHelp("SetZoom", [=[Sets the minimap's zoom level]=], [=[SetZoom(zoomLevel)]=])
	_DB:AddCodeHelp("SetPlayerTexture", [=[Sets the texture used to represent the player on the minimap]=], [=[SetPlayerTexture("filename")]=])
	_DB:AddCodeHelp("SetMaskTexture", [=[Sets the texture used to mask the shape of the minimap]=], [=[SetMaskTexture("filename")]=])
	_DB:AddCodeHelp("SetArrowModel", [=[]=], [=[]=])
	_DB:AddCodeHelp("GetZoomLevels", [=[Returns the number of available zoom settings for the minimap]=], [=[GetZoomLevels()]=])
	_DB:AddCodeHelp("SetCorpsePOIArrowTexture", [=[Sets the texture used to the player's corpse when located beyond the scope of the minimap]=], [=[SetCorpsePOIArrowTexture("filename")]=])
	_DB:AddCodeHelp("SetIconTexture", [=[Sets the texture used to display various points of interest on the minimap]=], [=[SetIconTexture("filename")]=])
	_DB:AddCodeHelp("PingLocation", [=["Pings" the minimap at a given location]=], [=[PingLocation(x, y)]=])
	_DB:AddCodeHelp("SetPOIArrowTexture", [=[Sets the texture used to represent points of interest located beyond the scope of the minimap]=], [=[SetPOIArrowTexture("filename")]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.Minimap, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Frame, "Property"))

	_DB:AddCodeHelp("Zoom", [[the minimap's current zoom level]], IGAS:GetPropertyType("number"))
end
